From 7c4f54aabaa184bd4b0463e2f8a80bee3078b540 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Sun, 23 Mar 2014 21:11:20 +0000 Subject: [PATCH] delete temporary file for gui preview when done. --- gpsbabel/gui/mainwindow.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/gui/mainwindow.cc b/gpsbabel/gui/mainwindow.cc index 4c13d09aa..b21e69e17 100644 --- a/gpsbabel/gui/mainwindow.cc +++ b/gpsbabel/gui/mainwindow.cc @@ -1063,6 +1063,7 @@ void MainWindow::applyActionX() GMapDialog dlg(0, tempName, babelData_.debugLevel_ >=1 ? ui_.outputWindow : 0); dlg.show(); dlg.exec(); + QFile(tempName).remove(); this->show(); } } -- 2.30.2